package com.jyxd.web.data.czform;


import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * ECMO出量
 */
@Entity
@Table(name = "table_ecmo_output")
@Data
public class ECMOOutput implements Serializable {

    /**
     * 序列
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Id
    @Column(name = "id", length = 32, nullable = false)
    @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
    private String id;

    /**
     * 时间
     */
    @Column(name = "date_time")
    private Date dateTime;

    /**
     * 尿量ml
     */
    @Column(name = "urine")
    private String urine;

    /**
     * 脱水量ml
     */
    @Column(name = "dehydration")
    private String dehydration;

    /**
     * 其他
     */
    @Column(name = "other")
    private String other;

    /**
     * table_ecmo_record表主键id
     */
    @Column(name = "record_id")
    private String recordTd;

    /**
     * 状态(0：禁用 1：启用 -1：删除)
     */
    @Column(name = "status")
    private Integer status;

}
